package com.jd.param;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.jd.annotation.QueryMethod;
import com.jd.constant.QueryMethodConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author wangshuping
 * @version 1.0
 * @date 2021/11/23 0:34
 */

@Data
public class UserParam  extends BasePageParam{

    @ApiModelProperty(value = "主键")
    @QueryMethod(method = QueryMethodConstant.EQ)
    private Long id;

    @ApiModelProperty(value = "部门id")
    @QueryMethod(method = QueryMethodConstant.EQ)
    private Long deptId;

    @ApiModelProperty(value = "账号")
    @QueryMethod(method = QueryMethodConstant.LIKE)
    private String username;

    @ApiModelProperty(value = "姓名")
    @QueryMethod(method = QueryMethodConstant.LIKE)
    private String realName;

    @ApiModelProperty(value = "手机号")
    @QueryMethod(method = QueryMethodConstant.LIKE)
    private String mobile;

    @ApiModelProperty(value = "邮箱")
    @QueryMethod(method = QueryMethodConstant.EQ)
    private String email;

    @ApiModelProperty(value = "状态 0-无效； 1-有效；")
    @QueryMethod(method = QueryMethodConstant.EQ)
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "修改时间")
    private String updateTime;

}
